Skip to content

Correct clamp annotations for callable formatters and None - #516

Merged
hugovk merged 2 commits into
python-humanize:mainfrom
hugovk:1
Nov 12, 2026
Merged

hugovk merged 2 commits into
python-humanize:mainfrom
hugovk:1

Conversation

@hugovk

@hugovk hugovk commented Nov 12, 2026

Copy link
Copy Markdown
Member

Supersedes and closes #458:

  • Drop eager typing import, we don't need @overload
  • No need to test typing things

@codecov

codecov Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.35%. Comparing base (4b806c4) to head (018c274).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #516   +/-   ##
=======================================
  Coverage   97.35%   97.35%           
=======================================
  Files          12       12           
  Lines        1022     1022           
=======================================
  Hits          995      995           
  Misses         27       27           
Flag Coverage Δ
macos-latest 97.26% <ø> (ø)
ubuntu-latest 95.00% <ø> (ø)
windows-latest 95.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hugovk
hugovk enabled auto-merge (squash) November 12, 2026 12:17
@hugovk
hugovk merged commit a950045 into python-humanize:main Nov 12, 2026
51 checks passed
@hugovk
hugovk deleted the 1 branch November 12, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: Fixed For any bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants